]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
st-texture-cache: Fix colored symbolic icons
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 29 Oct 2011 14:41:51 +0000 (16:41 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Sat, 29 Oct 2011 17:33:30 +0000 (19:33 +0200)
Commit b7bf712b977 broke colored symbolic icons by never including
the requested colors in the texture load request.

https://bugzilla.gnome.org/show_bug.cgi?id=662998

src/st/st-texture-cache.c

index 2333cffe3aeb67bda371ca784766c0401d201d31..377f3b9d5122ede5e393ee10639cf2adeb40b40e 100644 (file)
@@ -1103,6 +1103,7 @@ load_gicon_with_colors (StTextureCache    *cache,
       request->key = key;
       request->policy = policy;
       request->icon = g_object_ref (icon);
+      request->colors = colors ? st_icon_colors_ref (colors) : NULL;
       request->icon_info = info;
       request->width = request->height = size;
       request->enforced_square = TRUE;